﻿using System.Text;
using JQuery.WebKit.Base;

namespace JQuery.WebKit
{
    public class JTitle : WebControlBase
    {
        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            StringBuilder sb = new StringBuilder();
            sb.AppendFormat("<div class=\"pageTitle\"><span>{0}</span><hr /></div>", Page.Title);
            writer.Write(sb.ToString());
        }
    }
}
